import 'package:aweb5/bean/aplus/share_cash_entity.dart';

shareCashEntityFromJson(ShareCashEntity data, Map<String, dynamic> json) {
	if (json['title'] != null) {
		data.title = json['title']?.toString();
	}
	if (json['desc'] != null) {
		data.desc = json['desc']?.toString();
	}
	if (json['link'] != null) {
		data.link = json['link']?.toString();
	}
	if (json['imgUrl'] != null) {
		data.imgUrl = json['imgUrl']?.toString();
	}
	return data;
}

Map<String, dynamic> shareCashEntityToJson(ShareCashEntity entity) {
	final Map<String, dynamic> data = new Map<String, dynamic>();
	data['title'] = entity.title;
	data['desc'] = entity.desc;
	data['link'] = entity.link;
	data['imgUrl'] = entity.imgUrl;
	return data;
}